Example: Hide eligibility criteria from the decision report depending on the benefit applied for

Example: Hide eligibility criteria from a decision report depending on benefit applied for

In this example, a rulebase listener is used to install a decision report filter that can hide attributes from a decision report based on the value of another attribute. Given attribute with a name of (for example) 'foo', it looks for an attribute whose name is 'foo_show' and if foo_show has a value of false, then the attribute foo and its proof is hidden from the decision report.